#include "content.h"
#include "tanna.h"
#include "tannb.h"
#include "./ui_content.h"
#include<QMessageBox>
content::content(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::content)
{
    ui->setupUi(this);
}

content::~content()
{
    delete ui;
}






void content::on_pushButton_clicked()
{
    this->close();//关闭当前界面
    f=new tanna();//
    f->show();//打开另一个界面
}


void content::on_pushButton_2_clicked()
{
    this->close();//关闭当前界面
    k=new tannb();//
    k->show();//打开另一个界面
}




